import http from '../request.js'

// 获取系统日志列表
let systemLogList = (url, params) => {
    return http.req(
        'get',
        url = 'system/log/list',
        params,
        null
    )
}

// 清空
let systemLogClean = (url) => {
    return http.req(
        'delete',
        url = 'system/log/clean',
        null,
        null
    )
}

export default {
    systemLogList,
    systemLogClean
}